@import '~scss/variables';
@import '~scss/mixins';

.logo {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
}

.logo img {
  width: 180px;
  height: 40px;
}

.login {
  position: relative;
  width: 320px;
  margin: 140px auto 40px;
  padding: 20px;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: $base-shadow;
  box-sizing: border-box;

  :global {
    .form-item-label {
      @include TypographySymbolText;
    }

    input.input {
      height: 36px;
    }
  }
}

.header {
  position: relative;
  font-weight: 600;
  font-size: 12px;
  color: $text-color;
  line-height: 20px;
  text-align: center;
}

.divider {
  width: 100%;
  height: 0;
  margin-top: 12px;
  margin-bottom: 20px;
  opacity: 0.6;
  border-bottom: 1px solid;
  border-image-source: radial-gradient(circle at 50% 0, #abb4be, #ffffff 100%);
  border-image-slice: 1;
}

.footer {
  margin-top: 24px;
  :global {
    .button {
      width: 100%;
  
      + .button {
        margin-left: 0;
        margin-top: 12px;
      }
    }
  }
}

.tip {
  margin-top: 12px;
  .strength {
    margin-top: 5px;
    padding: 12px;
    border-radius: $border-radius;
    background-color: $bg-color;

    & > div {
      :global {
        .icon {
          margin-top: -2px;
          margin-right: 8px;
        }
      }
      & + div {
        margin-top: 8px;
        @include TypographyParagraph;
      }
    }
  }
}